package com.tvein.system.model
{
	//flash
	//pureMVC
	import org.puremvc.as3.multicore.interfaces.IProxy;
	import org.puremvc.as3.multicore.patterns.proxy.Proxy;
	//custom
	import com.tvein.system.model.P2PFile;
//
	public class FilesProxy extends Proxy implements IProxy
	{
		public static const NAME:String = 'FilesProxy';
		
        public function FilesProxy()
        {
            super(NAME);
        }
		
		//Custom
		private var filesData:Array = new Array();
		
		public function fileAdd(value:P2PFile) : void
        {
            filesData.push(value);
        }
		
		public function get filesArray() : Array
        {
            return filesData;
        }
	}
}